<?=$this->messages(); ?>
<table>
    <tr>
        <td class="title">&nbsp;</td>
        <td>
            <span>&lt;flat-pofile&gt;</span><br>
            <span style="margin-left: 38px;">&lt;Profile_Rule ua="na"&gt;<?=$this->model_setting_profile_rule_FTP->getValue() ?>&lt;/Profile_Rule&gt;</span>
        </td>
    </tr>
    <tr>
        <td class="title">
            <input id="tftp_use_default_config" type="checkbox" onclick="event_onClick_CheckboxTextarea_Ajax('tftp_use_default_config', 'tftp_custom_config', '/types/tftpdefaultconfig', false);" <? if ($this->model_type->getUseDefaultTFTPConfig() == 1) echo " checked"; ?> />
            Use default TFTP config
        </td>
        <td class="input_field">
            <textarea style="padding-left: 38px;" id="tftp_custom_config" <? if ($this->model_type->getUseDefaultTFTPConfig() == 1) echo "disabled=\"disabled\""; ?>"><?=$this->model_type->getTFTPConfig() ?></textarea>
        </td>
    </tr>
    <tr>
        <td class="title">
            <input id="tftp_add_extra_config" type="checkbox" onclick="event_onClick_CheckboxTextarea('tftp_add_extra_config', 'tftp_extra_config', true, true);" <? if ($this->model_type->getAddExtraTFTPConfig() == 1) echo " checked"; ?> />
            Add extra config
        </td>
        <td class="input_field">
            <textarea style="padding-left: 38px;" id="tftp_extra_config" <? if ($this->model_type->getAddExtraTFTPConfig() == 0) echo "disabled=\"disabled\""; ?>"><?=$this->model_type->getExtraTFTPConfig() ?></textarea>
            <br>
            <span>&lt;/flat-profile&gt;</span>
        </td>
    </tr>

</table>
<?=$this->buttons(); ?>